<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        .outer{
            width: 100%;
            height: 500px;
            display: flex;
        }
        .left{
            background-color: chocolate;
            /* width: 300px;
            height: 100%;
            float: left; */
            width: 200px;
        }
        .right{
            background-color: cornflowerblue;
            /* height:100% */
            flex: 1;
        }
    </style>
</head>
<body>
    <div class="outer">
        <div class="left">

        </div>
        <div class="right">

        </div>
    </div>
</body>
</html>
